package com.ruoyi.project.ledger.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.aspectj.lang.annotation.Excel.Type;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 叉车台账对象 ledger_forklift
 * 
 * @author ruoyi
 * @date 2020-05-08
 */
public class LedgerForklift extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @Excel(name = "序列号", cellType = Excel.ColumnType.NUMERIC,type = Type.EXPORT)
    private Long id;

    /** 经营户id */
    private Long businessId;

    @Excel(name = "企业名称",width = 30)
    private String companyName;
    @Excel(name = "营业执照号",width = 25)
    private String businessLicenseNo;

    /** 牌照 */
    @Excel(name = "叉车号牌")
    private String licensePlate;

    /** 年检日期 */
    @Excel(name = "年检日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date yearlyInspectionDate;

    /** 型号 */
    private String model;

    /** 出厂编号 */
    private String factoryNumber;

    /** 安装地点 */
    private String installationSite;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private Long stationId;
    private String stationName;

    private SysDept sysDept;

    private String[] imgs;

    private List<Map<String, Object>> imgList;

    public LedgerForklift() {
    }

    public LedgerForklift(Long id, String companyName, String businessLicenseNo, String licensePlate, Date yearlyInspectionDate) {
        this.id = id;
        this.companyName = companyName;
        this.businessLicenseNo = businessLicenseNo;
        this.licensePlate = licensePlate;
        this.yearlyInspectionDate = yearlyInspectionDate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setBusinessId(Long businessId) 
    {
        this.businessId = businessId;
    }

    public Long getBusinessId() 
    {
        return businessId;
    }
    public void setLicensePlate(String licensePlate) 
    {
        this.licensePlate = licensePlate;
    }

    public String getLicensePlate() 
    {
        return licensePlate;
    }
    public void setYearlyInspectionDate(Date yearlyInspectionDate) 
    {
        this.yearlyInspectionDate = yearlyInspectionDate;
    }

    public Date getYearlyInspectionDate() 
    {
        return yearlyInspectionDate;
    }
    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }
    public void setFactoryNumber(String factoryNumber) 
    {
        this.factoryNumber = factoryNumber;
    }

    public String getFactoryNumber() 
    {
        return factoryNumber;
    }
    public void setInstallationSite(String installationSite) 
    {
        this.installationSite = installationSite;
    }

    public String getInstallationSite() 
    {
        return installationSite;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getBusinessLicenseNo() {
        return businessLicenseNo;
    }

    public void setBusinessLicenseNo(String businessLicenseNo) {
        this.businessLicenseNo = businessLicenseNo;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("businessId", getBusinessId())
            .append("licensePlate", getLicensePlate())
            .append("yearlyInspectionDate", getYearlyInspectionDate())
            .append("model", getModel())
            .append("factoryNumber", getFactoryNumber())
            .append("installationSite", getInstallationSite())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
